import request from '@/utils/request'

export default{
    //讲师查询分页方法
    getTeacherList(page,limit){
        return request({
            url:`/eduservice/teacherfront/getTeacherFrontList/${page}/${limit}`,
            method:'post'
        })
    },

    //查询讲师详情（基本信息+所讲课程）
    getTeacherInfo(id){
        return request({
            url:`/eduservice/teacherfront/getTeacherFrontInfo/${id}`,
            method:'get'
            
        })
    }
}